Fix crates with the same name as standard crates
authorAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 00:53:38 +0000 (17:53 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 00:55:17 +0000 (17:55 -0700)
commited3bb05b422100d4937732769d89c0cd394e47a6
tree03824e0e3804d450c4a7f0582a7afd347bf9259d
parent8d0e2d537971e588dcb2782b58c68f2dc8d613ec
Fix crates with the same name as standard crates

The test and bin executables weren't getting the correct --extern flags when
tested and built, so the names were conflicting. This passes --extern for the
local crate to ensure the right crate is picked up.
src/cargo/ops/cargo_new.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs
tests/test_cargo_test.rs